import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
  mode: 'history',
  base: '/',
  // base: process.env.BASE_URL,
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('./views/groupBuying/index.vue')
    },
    {
      path: '/indexText',
      name: 'indexText',
      component: () => import( './views/groupBuying/indexText.vue')
    },
    {
      path: '/record',
      name: 'record',
      component: () => import( './views/groupBuying/record.vue')
    },
    {
      path: '/share',
      name: 'share',
      component: () => import( './views/groupBuying/share.vue')
    },
    {
      path: '/details',
      name: 'details',
      component: () => import( './views/groupBuying/details.vue')
    },
    {
      path: '/apply',
      name: 'apply',
      component: () => import( './views/groupBuying/apply.vue')
    },
    {
      path: '/reserve',
      name: 'reserve',
      component: () => import( './views/groupBuying/reserve.vue')
    },
    {
      path: '/orderList',
      name: 'orderList',
      component: () => import( './views/groupBuying/orderList.vue')
    },
    {
      path: '/invoice',
      name: 'invoice',
      component: () => import( './views/groupBuying/invoice.vue')
    },
    


    
    {
      path: '/schedule',
      name: 'schedule',
      component: () => import( './views/groupBuying/schedule.vue')
    },
    {
      path: '/field',
      name: 'field',
      component: () => import( './views/groupBuying/field.vue')
    },
    {
      path: '/introduce',
      name: 'introduce',
      component: () => import( './views/groupBuying/introduce.vue')
    },
    {
      path: '/hotelin',
      name: 'hotelin',
      component: () => import( './views/groupBuying/hotelin.vue')
    },
    {
      path: '/appointment',
      name: 'appointment',
      component: () => import( './views/groupBuying/appointment.vue')
    },
    {
      path: '/theater',
      name: 'theater',
      component: () => import( './views/groupBuying/theater.vue')
    },
    {
      path: '/theater_user',
      name: 'theater_user',
      component: () => import( './views/groupBuying/theater_user.vue')
    },
  ]
})

export default router
